#import <Foundation/Foundation.h>
#import "../JSON/Json.h"

#define uint unsigned int

@interface Menu:NSObject{
	NSNumber * menuId;		// long long
	NSString *name;
	NSNumber *price;		// int
	NSString *description;
	NSNumber *rank;			// int
	NSString *origPic;
	NSString *thumbPic;
	NSNumber *onsale;		// bool 
	NSNumber *startSaleTime;// long long
}

@property (nonatomic,retain) NSNumber *menuId;
@property (nonatomic,retain) NSString *name;
@property (nonatomic,retain) NSNumber *price;
@property (nonatomic,retain) NSString *description;
@property (nonatomic,retain) NSNumber *rank;
@property (nonatomic,retain) NSString *origPic;
@property (nonatomic,retain) NSString *thumbPic;
@property (nonatomic,retain) NSNumber *onsale;
@property (nonatomic,retain) NSNumber *startSaleTime;

+(Menu*)fromString:(NSString *)s;
+(Menu*)fromJsonObj:(id)obj;

@end
